package com.ruoyi.web.controller.cloudroom;

import com.alibaba.fastjson2.JSONObject;
import com.ruoyi.common.cloudroom.AuthConstant;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.vo.cloudroom.bean.vo.Room;
import com.ruoyi.system.service.cloudroom.RoomService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@Slf4j
@RestController
@RequestMapping("/roomcfg")
public class RoomConfigController extends BaseController {


    @GetMapping(value = "/getAppInfo")
    public AjaxResult getAppInfo() {
        JSONObject json = new JSONObject();
        json.put("appId", AuthConstant.APP_ID);
        json.put("appSecret",AuthConstant.APP_SECRET);
        json.put("addr",AuthConstant.SDK_URL);
        return success(json);
    }
}
